package hardware;

public class UI
{
	public static final byte ACC_AXIS_X			= 1;	
	public static final byte ACC_AXIS_Y			= 0;
	public static final byte ACC_AXIS_Z			= 2;

	
	public static final byte KEY_LEFT_UP		= 0;
	public static final byte KEY_LEFT_DOWN		= KEY_LEFT_UP+1;
	public static final byte KEY_LEFT_LEFT		= KEY_LEFT_DOWN+1;
	public static final byte KEY_LEFT_RIGHT		= KEY_LEFT_LEFT+1;
	
	public static final byte KEY_RIGHT_UP		= KEY_LEFT_RIGHT+1;
	public static final byte KEY_RIGHT_DOWN		= KEY_RIGHT_UP+1;
	public static final byte KEY_RIGHT_LEFT		= KEY_RIGHT_DOWN+1;
	public static final byte KEY_RIGHT_RIGHT	= KEY_RIGHT_LEFT+1;
	

	
	
	public static native boolean keyLUp();	
	public static native boolean keyLDown();	
	public static native boolean keyLRight();	
	public static native boolean keyLLeft();
	
	public static native boolean keyRUp();	
	public static native boolean keyRDown();	
	public static native boolean keyRRight();	
	public static native boolean keyRLeft();
	
	public static native boolean keyPressed(byte key);
	
	public static native byte getAccAxis(byte axis);
	
}
